<script lang="ts" setup>
import { InputProps } from "./inputtype"
defineProps<InputProps>()
const value = defineModel();
</script>

<template>
  <el-form-item :label="label" :prop="prop">
    <el-input-number
      style="width: 100%"
      v-model="value"
      controls-position="right"
      :value-on-clear="0"
      :name="prop"
    ></el-input-number>
  </el-form-item>
</template>

<style></style>
